package com.zenchn.dao;

import com.zenchn.generic.GenericDao;
import com.zenchn.model.TSysOauthCode;
import com.zenchn.model.TSysOauthCodeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TSysOauthCodeMapper extends GenericDao<TSysOauthCode, String, TSysOauthCodeExample> {

    @Override
    long countByExample(TSysOauthCodeExample example);

    @Override
    int deleteByExample(TSysOauthCodeExample example);

    @Override
    int deleteByPrimaryKey(String authCodeId);

    @Override
    int insert(TSysOauthCode record);

    @Override
    int insertSelective(TSysOauthCode record);

    @Override
    List<TSysOauthCode> selectByExample(TSysOauthCodeExample example);

    @Override
    TSysOauthCode selectByPrimaryKey(String authCodeId);

    @Override
    int updateByExampleSelective(@Param("record") TSysOauthCode record, @Param("example") TSysOauthCodeExample example);

    @Override
    int updateByExample(@Param("record") TSysOauthCode record, @Param("example") TSysOauthCodeExample example);

    @Override
    int updateByPrimaryKeySelective(TSysOauthCode record);

    @Override
    int updateByPrimaryKey(TSysOauthCode record);
}